package model.login;

import java.util.ArrayList;

/**
 * Created by trek2000 on 12/2/2015.
 */
public class UserInfo {

    /**
     * String section
     */
    private String USER_NAME = "";
    private long user_global_id = 0;
    private String ACCOUNT_TYPE = "";
    private String TOKEN = "";
    private String ACCESS_TOKEN = "";
    private ArrayList <CompaniesOfUserInfo> mAlCompaniesOfUserInfo;

    /**
     * @param user_Name
     * @param user_global_id
     * @param account_Type
     * @param token
     * @param access_Token
     * @param mAlcompaniesOfUserInfo
     */
    public UserInfo(String user_Name, long user_global_id, String account_Type,
                    String token, String access_Token, ArrayList<CompaniesOfUserInfo> mAlcompaniesOfUserInfo) {
        this.USER_NAME = user_Name;
        this.user_global_id = user_global_id;
        this.ACCOUNT_TYPE = account_Type;
        this.TOKEN = token;
        this.ACCESS_TOKEN = access_Token;
        this.mAlCompaniesOfUserInfo = mAlcompaniesOfUserInfo;
    }

    public String getUserName() {
        return USER_NAME;
    }

    public long getUserGlobalId() {
        return user_global_id;
    }

    public String getAccountType() {
        return ACCOUNT_TYPE;
    }

    public String getToken() {
        return TOKEN;
    }

    public String getAccessToken() {
        return ACCESS_TOKEN;
    }

    public ArrayList <CompaniesOfUserInfo> getmAlCompaniesOfUserInfo() {
        return mAlCompaniesOfUserInfo;
    }

}
